package dimension.starry.item.material;

import dimension.starry.StarryDimension;
import dimension.starry.item.typeInterface.MaterialType;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.minecraft.client.item.TooltipContext;
import net.minecraft.item.ItemStack;
import net.minecraft.text.Text;
import net.minecraft.world.World;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * @author 150149
 */
public class ShapedPowder extends MaterialType {

    private static final Text TOOLTIP = Text.translatable(StarryDimension.MOD_ID + ".gui.item.shaped_powder.desc");

    public ShapedPowder() {
        super(new FabricItemSettings());
    }

    @Override
    public void appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) {
        super.appendTooltip(stack, world, tooltip, context);
        tooltip.add(TOOLTIP);
    }
}
